package com.ruoyi.product;

import com.ruoyi.product.domain.TBrand;
import com.ruoyi.product.service.ITBrandService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import static org.junit.jupiter.api.Assertions.assertTrue;

/**
 * @projectName: RuoYi-Cloud-master
 * @package: com.ruoyi.product
 * @className: BrandList
 * @author: 陈彤彤
 * @description: TODO
 * @date: 2025/8/6 20:49
 * @version: 1.0
 */
@SpringBootTest
public class BrandList {


    @Autowired
    private ITBrandService itBrandService;

    @Test
    public void getBrandTest(){
        TBrand tBrand = itBrandService.selectTBrandByBrandId(3L);
        System.out.println(tBrand);
        assertTrue(tBrand != null);
    }
}
